<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<%@ page language="java" import="java.util.*,java.text.*" contentType="text/html; charset=utf-8"%>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<%@page import="java.sql.Connection" %>
<title>时间显示</title>
<script type="text/javascript">
  var d=new Date();
</script>
</head>
<body>
<%@include file="checkLogin.jsp" %>

<%=application.getRealPath("")%>
<br/>
<h1>
<%
 //int i=1;
 //i++;
   SimpleDateFormat df=new SimpleDateFormat("yyyy-MM-dd hh时mm分ss秒");
    Date d=new Date();
    String str=df.format(d);
    out.print(str);
%>
</h1>
<h2><%=str%></h2>
<h3><%=Math.random()%></h3>
</body>
</html>